package com.carleasoft.mps.core.tree;

public enum  Range {
        ALL(0,"能看到的全部数据"),
        CURRENT(1,"仅当前节点"),
        CURRENT_OR_CHILDREN(2,"当前以及下级节点")
    ;


    private Integer id;
    private String name;

    private Range(Integer id, String name) {
        this.id = id;
        this.name = name;
    }
    private Range(Integer id) {
        this.id = id;
    }

    private Range(String name) {
        this.name = name;
    }


    public String getName() {
        return this.name;
    }
    public void setName(String name) {
        this.name = name;
    }
    public Integer getId() {
        return id;
    }
    public void setId(Integer id) {
        this.id = id;
    }
}
